export enum DeliveryMethodType {
  PLATFORM = 1,
  MERCHANT_SELF_DELIVERY = 2
}

export function deliveryMethodTypeLabelOf(value: number): string {
  if (value === DeliveryMethodType.PLATFORM) return '平台配送'
  if (value === DeliveryMethodType.MERCHANT_SELF_DELIVERY) return '商家自配'
  return ''
}
